package com.etung.iot.demo.boxConfig;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@ApiModel(value = "存储配置")
public class StorageSetting {
    @ApiModelProperty(notes = "存储类型")
    private Integer type;
    @ApiModelProperty(notes = "采集周期")
    private Integer samplingPeriod;
    @ApiModelProperty(notes = "波动上限")
    private String upLimit;
    @ApiModelProperty(notes = "波动下限")
    private String lowerLimit;
    @ApiModelProperty(notes = "条件表达式")
    private String conditionRule;
}
